﻿Public Class Graf

    Private Sub Graf_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
        My.Settings.GrafSize = Me.Size
        My.Settings.GrafPos = Me.Location
    End Sub

    Private Sub Graf_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.Size = My.Settings.GrafSize
        FormPos(My.Settings.GrafPos)
        Me.Location = My.Settings.GrafPos

    End Sub
End Class